port « Socket « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » Socket » port 

1. How to Create a TCP socket connect using C to a predefined port    stackoverflow.com

I have a very simple question. I want to test whether a particular port is currently under use or not. For this, I want to bind a TCP socket to the ...

2. Get the client port (in C) after a call to connect    stackoverflow.com

I am browsing some source code which connects to a remote host on port P(using TCP). After the call to connect,(assuming successful), I would like to discover the client port of ...

3. Programmatic way to find application that is blocking port creation    stackoverflow.com

To run some simulator we installed Windows Services for Unix. This uses an UDP port 1035, In some PC's this Windows service for Unix works fine, but in others it fails. After some analysis ...

4. socket programming in C + multiple socket, same port num    bytes.com

Hi, i am getting ur question. Usually after shutdown this behaviour dosent happen. So to understand whats happenening after running the first application run netstat and see whats happening to the port or somebody is using it. Then run the second program if the port is not used by any body. Raghu

5. Help me about socket port    bytes.com

7. [sockets] What port    cboard.cprogramming.com

I would suggest using a table to maintain port information, look up the port lists on the internet first so you can avoid ranges in use. Eg: if you can use ports 1999 - 4999 then set a variable to this value and let this value be the first port you assign, assign the next one 2000 etc. Though this wouldnt ...

8. Multiple Ports using Sockets    cboard.cprogramming.com

I am looking to create a distributed server that can listen on multiple ports. I have code written that works with one port, but I am not sure how to specify the server to listen on 2 ports. I put my entire code down for the server because it is short. I have been playing with the code for quite some ...

9. How to set the SOURCE port of a udp socket?    forums.devshed.com

Hmm...i'm not sure you got what i meant. I am using a UDP socket (not TCP) to send packets out to a certain host. I want the packet to have a fixed source port set by myself, i don't want the socket to assign a random source port. The reason for this is that the end node wants to check if ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.