I have a winsock array, one winsock is created for each new user. WnskMain with an Index of 0 listens on a port, and then hands off the connection the new winscock control.

Under DataArrival(), i call a sub, which in turn will send data back to the user. But I don't know how to tell which winsock(port) the user is connected on. I have been told that it is included in the data being sent. Can anyone help me out?