Well Im making this in VB6, is it possible to Listen UDP for incoming information and have a TCP socket connect through the same port? Isent it possible if your Local Port to the TCP is a different port then the remote port you are connecting to?

For Example

The UDP socket Binds and Listen on Port 80
The TCP port binds itself to a High port like 65000
The TCP makes a connect request to some foreign ip on port 80

Is this something close that IE does like when you netstat, which allows you to connect to multiple port 80s on different web servers like Google and yahoo?

EDIT: Reading over Beej's Network guide, It make work if I BIND the socket with Windows API/Winsock control correct?
if you do not bind the port does it assume the localport = the remoteport which is the reason why a error is triggered?
if so what is the safest way to bind a TCP port to a unused local port?