Login
Username:

Password:

Remember me



Lost Password?

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

Members: 1
Guests: 1

Kronos, more...

Browsing this Thread:   1 Anonymous Users





network programming: send() and MSG_NOSIGNAL

Joined:
2005/2/1 19:32
Group:
Member
Posts: 498
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: 7/12 7:00
_________________
http://amigaalive.de
Transfer the post to other applications Transfer


Re: network programming: send() and MSG_NOSIGNAL

Joined:
2005/6/16 11:11
Group:
Member
Posts: 604
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: 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
4341
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3887
4 nikolaos
nikolaos
3677
5 deadwood
deadwood
2923
6 ncafferkey
ncafferkey
2623
7 mazze
mazze
2213
8 clusteruk
clusteruk
2097
9 Kalamatee
Kalamatee
2023
10 damocles
damocles
1789
© 2004-2017 AROS Exec