|
-
Mar 7th, 2001, 11:17 AM
#1
Thread Starter
Lively Member
Ok, I am working on a chat program (two way). Anyway, heres what I know and think...
1. I can send as many messages as I want to from the computer to first send. It sends the message and closes the winsock port and that for some reason it won't go back into its listening state even though I tell it specifically
If Winsock1.state <> sckClosed Then Winsock1.close
Winsock1.LocalPort = 1000
Winsock1.Listen
2. The recieving second end will recieve as many times as I send (with a little hesitation after the first message), But in between messages it will not close the port and also is still listening
Output on recieving end from netstat:
Proto Local Address Foreign Address State
TCP #Local address# 0.0.0.0:1000 Listening
TCP #Local address# 10.100.8.195:1000 Time_Wait
Now for my question...
1. Why won't it close when I tell it?
2. How do I get it to do so?
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
|