Set sender's port

S

sieg1974

Hi,

I'm reading some tutorials about sockets in the web, and so far didn't
find a way to set the sender's port. Is it possible to do? If so, which
command should I use?

Thanks,

Andre
 
S

Spiros Bousbouras

Hi,

I'm reading some tutorials about sockets in the web, and so far didn't
find a way to set the sender's port. Is it possible to do? If so, which
command should I use?

Here we discuss standard C and standard C doesn't
have any functions dealing with sockets. I suggest
asking your question in a group which deals with the
operating system you're using.
 
K

Keith Thompson

I'm reading some tutorials about sockets in the web, and so far didn't
find a way to set the sender's port. Is it possible to do? If so, which
command should I use?

The standard C language has no support for sockets. You'll have
better luck asking in a newsgroup that's specific to your system,
perhaps comp.unix.programmer or comp.os.ms-windows.programmer.win32.
 
D

Default User

Hi,

I'm reading some tutorials about sockets in the web, and so far didn't
find a way to set the sender's port. Is it possible to do? If so,
which command should I use?

This is not a C question. Yes, we understand that you are writing a C
program, but your question doesn't concern the C language.

Depending on the networking package you are using (winsock or BSD
sockets, or other) you'll need to find an appropriate newsgroup. Try
searching Google Groups for the functions you're using.

Just as an aside, and OT, normally the way it works is that one entitiy
"listens" on a port, those interested in contacting it connect to that
port. I doubt you really need to do what you are asking, but here isn't
the place to discuss it.



Brian
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top