From: Alain P. <ala...@sm...> - 2002-12-04 10:24:42
|
Hi all, I send a file through OBEX on PPP. Obex is waiting on port 650 (inet). When the file is completely recieved, I use function "OBEX_Cleanup". Then, I restart OBEX on port 650. The problem is that port 650 has not been freed. If I look with netstat, I have : tcp 0 0 192.168.1.1:650 192.168.1.2:1469 TIME_WAIT So I can't register server on port 650. After about 30 seconds, the port become free (a timeout somewhere), and my program can register server on port 650, and I can receive new file. I don't use any option like "OBEX_FL_KEEPSERVER", and on the other side, I use obex_tcp utility which I think do things correctly. What should I do to get port 650 free at once ? Thank you for any help. -- Alain Paschoud SMARTDATA SA ala...@sm... PSE-A http://www.smartdata.ch 1015 Lausanne Phone +41-21-693'84'98 Fax +41-27-693'84'91 |