Code: Select all
Procedure NetworkConnectionHandler(SocketSlots.i)
Protected.i StreamEvent, ClientID
Protected.i x
Protected *TempBuffer
Dim NetworkData(SocketSlots)
Dim StreamControl(SocketSlots)
Repeat
StreamEvent = NetworkServerEvent(ServerID)
TCPServer.pbi (Line: 471)
FreeMemory(): The specified '*MemoryID' is null. I checked with ServerID and that one is not 0.
Also, can EventClient() be used for unique ID. Read in some forum it is not?