Re: [Dev-C++] Dev-cpp-users Digest, Vol 16, Issue 12
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2007-10-02 23:53:19
|
First of all - please avoid using HTML on the mailing list. Second - you should send a pointer to a buffer to the function. You are sending a pointer, but that pointer does not point to any buffer... Declare a variable of the correct type and then use the address-of operator. /pwm On Tue, 2 Oct 2007, angel dario wrote: > > Any body knows how to use: > > getpeername() function on dev-cpp??? > > I tried it and WSAGetLastError() always return to 10014. |