WebJul 3, 2012 · 2. After I'm done sending my messages to my remote actor, how do I correctly end the connection? If I use tcp_listener::shutdown () get an error on my host process: Error: closesocket: 10038, which is what I'm trying to avoid, if possible. I'm sorry if I'm overseeing something, but it isn't obvious to me the correct way to spawn a remote actor. WebJun 19, 2008 · It appears your app may be closing or currupting the socket handle. 10038 means: Socket operation on nonsocket. An operation was attempted on something that …
socket function returning = 10038 - CodeGuru
WebJun 19, 2008 · It appears your app may be closing or currupting the socket handle. 10038 means: Socket operation on nonsocket. An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a valid socket, or for select, a member of an fd_set was not valid. Tuesday, August 1, 2006 10:56 PM WebDec 19, 2014 · winSock的一个bug:当closesocket多次错误使用时会导致问题 这几天想在一个开源的代码上进行修改,以期研发出一个产品出来。 程序原来是单线程网络程序,需要修改为多线程,修改之后,总是出问题,辅助线程中的recv函数总是运行一阵子之后收到长度为-1的数据报,导致程序运行不正确甚至崩溃。 rebecca guinn obgyn
How to close a socket - shutdown or closesocket?
WebDescription Shuts down the communications channel. If ForceClosed is True, Close performs an immediate and possibly dangerous shutdown of the communications channel. If ForceClosed is False or not specified, Close performs a safe shutdown of the communications channel. Exceptions A call to Close can raise any of the following … WebAug 19, 2024 · 10038: Socket operation on nonsocket. An operation was attempted on something that is not a socket. Either the socket handle parameter did not reference a … WebAug 12, 2009 · GameDev.net is your resource for game development with forums, tutorials, blogs, projects, portfolios, news, and more. rebecca greenleaf np