SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] sctplib win32 example exception


Chronological Thread 
  • From: "Nils O. Selåsdal" <NOS AT Utel.no>
  • To: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] sctplib win32 example exception
  • Date: Wed Nov 30 11:42:04 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Kirill Ratkin wrote:
Hello All.

I have compiled sctplib (1.0.4) on W2K host with SP4 using VC6.0 std edition but when I start examples (echo_server for example) I see exception. I enabled debug information and started example again from debuger, exception macros of VC says about incompatible calling/called stack frames (i suppose it's whether cdecl or stdcall or fastcall) but ... problem exists. Does somebody meet such behavior?
I see this too, on WinXP.
I've commented out the 3 lines around line 2098 in adaption.c that says
#define getaddrinfo WspiapiGetAddrInfo
#define getnameinfo WspiapiGetNameInfo
#define freeaddrinfo WspiapiFreeAddrInfo

That seem to do it.

(I may have done some other things I don't remember anymore,
but I recall fooling around on line 2990 in adaption.c, where it
frees the struct addrinfo *local)




Archive powered by MHonArc 2.6.19+.

Top of page