Hi all,
I just recently upgraded my development Mac from OS/X 10.5.4 to 10.5.5, and now some code that was working before no longer works. Can someone help me confirm or deny that my code is ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I don't understand why the fdmax is not updated when he removes a socket in the last example. I see the same technique in the beej's guide.
Code:
// http://www.developerweb.net/f...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello folks....
There is something I need you guys to review, for I am pretty new to programming in Linux and most of the things are still alien to me!!!
I am writing a multi-threaded stre...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi,
Im new to socket programming.
And the problem Im facing is as below:
Im using non-blocking sockets(setting F_SETFL with current_flags|O_NONBLOCK using fcntl()). When I call recv(), aft...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I'm writing a program that needs to talk to another process using a
tcp socket. I've been told to create the socket at the time the
program starts then leave it up the whole life of the progr...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi
Other than sniffer and wireshark are there any other tools to capture and analyze the packets sent over the network?
I want to study the packets sent over the network in Linux socket progra...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi people,
I've been looking through this forum since yesterday, and did not manage to find the solution to my current problem.
I connect to a server (asterisk, but nvm) and sends commands. ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I'm having a server application (built on top of epoll mechanism). Client Login and Logoff events are asyncronous - marking the FDs for these events are done by different threads.
Around 70,00...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Although this is a networking forum, of course a network is no use if the PCs are dead.
If you want dead PCs, try Windows XP SP3. Hopefully you will be luckier than me. My trusty reliable 5 yr o...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi all,
I have a TCP client-server application. If network connection is lost when send is executed (in client), I want client to re-initiate a new TCP connection.
I have mulitple send() ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
I know the max IP data packets of nulticast can not excess the MTU, if I want to transfer large packets, can UDP multicast itself divide them ? thanks.
...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hai friends ,
I need help regarding Proxy setup in socket programming in linux environment please help me out how to setup a given Proxy IP and Proxy port in Socket programming.
Thanks in ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi i am coding a sntp client connectionless over udp port 123.
porblem is that i can send the packets out and get a reply (according to tcprdump) but recvfrom don't get anything the socket succe...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Code:
#include <stdio.h>
#include <unistd.h>
#include <sys pes.h>
#include <sys/stat.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <fcntl....
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hi
i want to write a small ftp client(in C) for downloading files on internet
i had already written a small client and server both of which can communicate with each
other one by o...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hi all,
I want the client to reinitiate a new TCP connection if there is any connectivity loss on TCP send(). After connect() is successful on the client, I terminated the server process.
...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hi folks!
i've met with a strange behaviour at boa webserver, i dont know if the problem is at the server or the device.
the problem is that in random times the server does not respond to ...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello!
I'm wondering if I can omit error handling for setsockopt() function. Implementing error handling for this function is in my situation quite painful (because specific code). So my quest...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hi,
I m trying to build a object oriented library for networking socket api (just for learning and fun)in c++ but when i try to create a socket with socket function it always returns 0 (same a...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Is there any way of determining inside a tcp server program whether the connected client socket is closed or not? I used select with exception fdset set, but no effect.
Is there any TCP primitiv...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello,
As soon as the process begins, the main() thread creates a Message Queue as shown below
Code:
int createDlSMsgQ()
{
key_t dlKey;
if ((dlKey = ftok(".", 'B')+1...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
HI,
When receiver is not ready to receive on the UDP socket,meanwhile Sender called 'sendto' with message size say 50 bytes twice to the receiver. When receiver become ready and call 'recvfrom'...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
We have a daemon listening on port 300. This daemon we use for some testing
because of some reasons the tests hanged and we could see some connected port in TIMED_WAIT test. We could not free th...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
hello!
i wrote a tcp client,which send a package to server and recv response each time in a while circle.when error ocurs ,the client reconnects.
the problem is the recv return a negtive every...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine
Hello, I wrote a client, that read from server a buffer.
This buffer is a mesure of temperature.
When i run the client in the pc, where is installed the the server, i read the right value of t...
[Tags: No tags defined yet] - Be the first to Tag this threadAdd TagsCancel
*Note: Tags must be comma (,) seperated. For example: boardtracker, forum search, search engine