Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
2 user(s) are online (2 user(s) are browsing Forum)

Members: 1
Guests: 1

Yannickescu, more...

Browsing this Thread:   1 Anonymous Users





network programming: send() and MSG_NOSIGNAL

Joined:
2005/2/1 19:32
Group:
Member
Posts: 506
Offline
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 7:00
Transfer the post to other applications Transfer


Re: network programming: send() and MSG_NOSIGNAL

Joined:
2005/6/16 11:11
Group:
Member
Posts: 627
Offline
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 7:38
Transfer the post to other applications Transfer






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.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4433
2 magorium
magorium
4095
3 nikolaos
nikolaos
4024
4 phoenixkonsole
phoenixkonsole
3929
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2796
7 mazze
mazze
2221
8 clusteruk
clusteruk
2112
9 damocles
damocles
1789
10 BSzili
BSzili
1513
© 2004-2018 AROS Exec