Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who is Online
14 user(s) are online (12 user(s) are browsing Forum)

Members: 0
Guests: 14

more...


Browsing this Thread:   1 Anonymous Users






Re: network programming: send() and MSG_NOSIGNAL
#2
Home away from home
Home away from home


See User information
The AROS TCP stack is ancient, which is also true for the includes. I guess MSG_NOSIGNAL was introduced in 1999, AmitCP is from when? 1994?

So if this is the only problem, just drop MSG_NOSIGNAL from the code or define it 0 in your own includes and see what happens.

But I guess, this is not the only problem.

Posted on: 2017/7/12 14:38
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 


network programming: send() and MSG_NOSIGNAL
#1
Home away from home
Home away from home


See User information
i have this line of code that compiles under Linux:

bytes = send(net->socket, mem, size, 0 | MSG_NOSIGNAL);


but won't compile under AROS, because MSG_NOSIGNAL is unknown.

(using AROS nightly build 2017-05-01 i386 ABIv0)


any ideas?

Posted on: 2017/7/12 14:00
 Top  Twitter  Facebook  Google Plus  Linkedin  Del.icio.us  Digg  Reddit  Mr. Wong 







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4462
2 nikolaos
nikolaos
4206
3 magorium
magorium
4095
4 phoenixkonsole
phoenixkonsole
3942
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2810
7 mazze
mazze
2222
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2114
Powered by XOOPS © 2001-2025 The XOOPS Project