[usocket-devel] [patch] Networking: bind to local-host/local-port when connect

21 Jul
2008
21 Jul
'08
6:08 p.m.
Hi, CMUCL & rtoy CMUCL's networking API do not have standalone BIND function. And it's EXT:CONNECT-TO-INET-SOCKET and EXT:CREATE-INET-SOCKET function do not have any LOCAL-HOST/LOCAL-PORT argument. So a client socket is IMPOSSIBLE to bind to specific local host/port when CONNECT to remote address. I wrote a loadable CMUCL patch, which create a new function BIND-INET- SOCKET, and add LOCAL-HOST, LOCAL-PORT keyword arguments to above two functions to support this feature. I think it's quite safe to merge it in next CMUCL version. Please review it. Regards, Chun Tian (binghe)
6188
Age (days ago)
6188
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chun Tian (binghe)