Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / WSA_ Socket Calls - Dr Electron

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. WSA_ Socket Calls - Dr Electron
#684
Posted by: 2002-12-03 07:17:47
It Dr Electron really Kee Nej?

Anyway. Are you planning WSA_ Socket calls
for the future?

WSAAsyncGetHostByName() for example?

Just wondered as I did not see it in RSocket.

regards

john
Message2. Re: WSA_ Socket Calls - Dr Electron
#697
Posted by: 2002-12-08 23:12:15
Hi, John, I remember your posts from the RQ group.  Yes, both doctor electron and Kee Nej are aliases I have used, and use.
Rsocket already has .AddrbyName function (gethostbyname).  What benefit would there be to having a WSAaysnc version?  Maybe the
fact that .AddrbyName is blocking?  This is a DNS lookup and the time it takes does depend on the DNS server used and other factors.
Take care, doc
Message3. Re: WSA_ Socket Calls - Dr Electron
#703
Posted by: 2002-12-11 01:42:34
Hi Kee Nej,

okay! BTW. Talking of speed. I noticed you were still using
copymemory @struc(0) type routines. Just wondering why
you are not using a Memory Block as in my wsa_ code, etc.
As I find this easier/better than @struc() as it guarantees
one continous block of memory, which is also able to have
GMEM_ flags attached to it (i.e moveable or static memory).

regards

john
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-12-13  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0