|
-
Oct 30th, 2000, 03:58 PM
#1
Thread Starter
Hyperactive Member
Ok Let me Ramble for a secound .
Made a Chat Client , Made a Server , Implimented Colored Text , Special Fonts , Private Messages , Blah ,blah ,blah ... Working on Filetransfers .
Send a string to sever Telling another Client to create a new Sock to recieve a file . Socks created , Set the IP, Set the Port .... Oh yeah thats the Problem The fricken
PORT You can't open 2 socks on the same port . That makes sense . To make a Connection 1 sock has to listen and the other has to Connect . The connecting Sock Finds it's own Localport to use. The Listening port on the other hand has to be Given a port . Now If I try to open a port thats in Use (either by my app or another one ) It generates an Error "Port in use " . Thats Fine What Ever . I Need to know If theres an equal to FreeFile but for sock ports or Do I Have to Loop through all the ports and catch the error until I Find a port that I Can Use ?
BTW I Hate the Winsuck.ocx , but I can't use the API's
Sorry for screamimg like a Kid ,
[]P
Visual Basic 6 SP4 on win98se
QUIT THE RAT RACE BECAUSE YOUR MESSING THE WORLD UP !!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|