Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can not bind() on a specific port

Reply
Thread Tools Display Modes

Can not bind() on a specific port

 
 
Rogier Mulder
Guest
Posts: n/a

 
      10-06-2004, 07:58 PM
I made a program that runs a TCP/UDP listener on port 2450 (select()).
Before starting select() I did a bind() to port 2450.

Another thread in the same program needs to send out a UDP message
(sendto()) with a source port of 2450. When I try to bind to port
2450, there is an error: 'no such file or directory' (or similar).
Whenever I bind to another port is OK but with 2450 I get this error.

Is there a way to make this happen?

Rogier Mulder
(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Madhur Ahuja
Guest
Posts: n/a

 
      10-06-2004, 08:37 PM
Rogier Mulder <(E-Mail Removed)> wrote:
> I made a program that runs a TCP/UDP listener on port 2450 (select()).
> Before starting select() I did a bind() to port 2450.


This is a linux specific newsgroup for setting up networks. Your
question may be best asked in
comp.protocols.tcp-ip

--
Madhur Ahuja [madhur<underscore>ahuja<at>yahoo<dot>com]

Homepage
http://madhur.netfirms.com






 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind succeeds for a used port prasad Linux Networking 2 04-16-2004 04:21 AM
Bind to specific access point by MAC address in XP Milo Wireless Internet 0 01-29-2004 11:08 PM
Can you Bind Terminal Service to a Specific Adapter Bill Diekmann Windows Networking 1 01-20-2004 05:23 PM
Cannot bind to http port 8080 Carter Brey Linux Networking 2 12-10-2003 05:25 AM
bind ICMP to specific IP address Stuart Kendrick Linux Networking 0 11-30-2003 05:11 PM



1 2 3 4 5 6 7 8 9 10 11