G
Greg2fs
Hello, I know the port used by my udp client to forward it using upnp.
How to do ?
Thanks
How to do ?
Thanks
Hello, I know the port used by my udp client to forward it using upnp.
How to do ?
Thanks
Off topic. Not portable. Cant discuss it here. Blah, blah, blah.
--
Useful clc-related links:
http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language
Isn't it a c group ? I don't understand...
It was a pre-emptive strike. As you will soon find out, this newsgroup
has been taken over by a bunch of buttheads who have this totally weird
notion about what the C language is. They will be along any second now
to tell you the same thing I just told you, but in much more patronizing
and juvenile tones.
In other words, I was joking. They will not be.
And, welcome to CLC. We hope you enjoy your stay!
Isn't it a c group ? I don't understand...
Hello, I know the port used by my udp client to forward it using upnp.
How to do ?
This group is about all C related programming as defined in its
founding charter.
Isn't it a c group ? I don't understand...
The C language doesn't have sockets.
If you're on a Unix-derived system, you can probably get good answers
in comp.unix.programmer, but those same answers will be worthless to
you if you're on Windows...
Use getsockname(2).
Or, choose which port to bind to yourself instead of letting the socket
layer choose an available ephemeral port.
Nonsense.
Are you trying to argue that
int socket(int domain, int type, int protocol);
is not a C API? If so, I call bullshit.
My advice would be to leave that sort of stupidity to Heathfield and
Thomson.
Richard said:Is this Seebs guy a Heathfield sock? He has all the mannerisms and
annoying starchiness.
This is nonsense. Sockets are very portable - Windows also uses
Berkeley sockets.
Note the size of this "keep it on topic" subthread compared to that of
the subthread that contains the actual answer.
With a cure like this, who needs a disease?
-Beej
Greg2fs said:I don't use to talk on newsgroups from long but with all these answers
I think I will continue, and it seems than this newsgroup correspond
to my request as I get answers...
Keith Thompson said:As several people have tried to tell you, on the particular topic
you're asking about you're likely to get more and better answers
in comp.unix.programmer.
Your question really isn't about the C language, which is what we
(try to) discuss here. There are C implementations that don't
support sockets, and there are implementations of sockets for
languages other than C.
[...]
Nonsense.
Are you trying to argue that
int socket(int domain, int type, int protocol);
is not a C API? If so, I call bullshit.
Let me quote Dr. Richtie
"C offers only straightforward, single-thread control flow: tests,
loops, grouping, and subprograms, but not multiprogramming, parallel
operations, synchronization, or coroutines."
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.