ups i dont understand :S

can u give me an example on how to setup the connect and data arrival for winsock array?