Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling recvfrom() is failed... why?

Status
Not open for further replies.

TJNweb

Programmer
Dec 9, 2002
50
0
0
EE
Private Declare Function recvfrom Lib "ws2_32.dll" (ByVal s As Long, ByVal buf As String, ByVal lLen As Long, ByVal flags As Long, ByRef from As sockaddr, ByRef fromlen As Long) As Long

This API can not be called from VB... why did I get genegal protection error? Does anybody can show me working example how to use this function properly?

recv() works fine, but it is not enough for me..

Thanks in advance to all
Juri (tjn.web@mail.ee)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top