you should place your code snippets inside vbcode tags so it's easier to read the code.

perhaps you should look into Asynchronous Sockets
Asynchronous Server Socket Example