Programming associated with creating and managing networks as well as adding network connectivity to a (set of) programs.
0
votes
0answers
13 views
Time functions in mingw
I am trying to implement the code given in this page
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366062%28v=vs.85%29.aspx
I am using mingw (gcc) to compile this.
But the following ...
0
votes
0answers
18 views
My Java server keeps timing out. The last packet successfully received from the server was x milliseconds ago
I'm currently writing a chat application and I am having trouble keeping my Java server up for more than eight hours. After eight hours whenever I try to connect to the server I get the following ...
0
votes
1answer
18 views
Can i use select to send data on multiple interfaces as fast as the interface can process
I am an experienced network programmer and am faced with a situation where i need some advice.
I am required to distribute some data on several outgoing interfaces (via different tcp socket ...
0
votes
1answer
20 views
count the number of pings that a machine is receiving
I have a setup of two machines.
one will initiate pings and the other will be receiving.
now, i'd like to count the number of pings that are being received by the machine that is receiving the pings.
...
0
votes
0answers
13 views
SCTP (win)socket error 10050
So here is the code for the remote host Connect portion of my program. It takes in an ip4 address and coverts it to an ipv6 ISATAP address. Whenever I run the server module on port 5000 and connect to ...
-1
votes
0answers
6 views
Develop Application To See Wi-Fi Networks And Their Info [closed]
I'm looking for documentation on how to get Wi-Fi networks information transmitted by routers, so I can display it on an application.
So far, I didn't find any documents showing how to retrieve ...
0
votes
0answers
17 views
Graphical Representation of a Network [closed]
In order to have a graphical representation of a network with nodes and flows in a swing application, which alternatives and libraries are better to use? I need to compare the libraries like JUNG, ...
0
votes
1answer
18 views
Error in assigning port number to socket using newSocket.sin_port = htons(portNumber);
I am trying to assign port number passed to it by a function. The port number received is displayed correctly when received but when I try to assign that port number to a new Socket, that port number ...
0
votes
1answer
25 views
Get the local IP address associated to a local MAC address
In a .properties file I store the local network interface (i.e. MAC address) which I want to be used by my Java application. Then I get that information as a property.
Now I want to get the local IP ...
1
vote
1answer
18 views
How do I implement a labview server and client to send and receive network packets in parallel?
I am writing two programs (server.vi) and (client.vi). that communicate with each other over a TCP connection.
After the client opens a TCP connection with the server, the server responds with a ...
0
votes
1answer
13 views
Interface IOCTL in winsock2: Help needed
So apparently the Winsock2 equivalents of ioctl(), which are ioctlsocket() and WSAIoctl(), do not accept the ifreq structure as a parameter or have a clear option for attaching a socket to an ...
2
votes
2answers
22 views
defining the UDP socket for the nodes located in different networks
Let's assume there are two linux machines that are located in two different networks have the following configurations
Node1 Node2
IPaddr(private) ...
0
votes
0answers
21 views
Fields in ip/tcp header required to be changed when data is modified in an IP packet
This is an extension to my other question- modifying ip packet using libipq
I have a linux bridge set up between a client and a server machine. I forward the tcp packets coming from the server to the ...
3
votes
2answers
60 views
Linux network interface management by C code
I am looking for a function/system call that can be used in C to manage network interfaces of the Linux machine. E.g., I would like to do ip link set wlan0 down(or up) or ifconfig wlan0 down, what ...
4
votes
2answers
64 views
how to write/send a specific number of bytes to a socket totally but not partially?
I want to write a specific number of bytes to a socket,
n=write(sock_fd, buf, len);
if n<len, I would rather no bytes are written into the socket,
is it possible or not?
thanks!