I have 2 winsock controls on my form winsock1 and winsock 2 and both at index 0.

My server has 2 winsock controls again both set at index 0 and both set to listen, on form load, on different ports.

Well i conect winsock1(0) to the server fine(on port 10000), but when i connect winsock2(0)(on port 20000), or try to, it closes both winsock1 and winsock2.

I did this a while back with no problem i.e connecting more than one sock to a server. Whats likely the prob here?