i tried to connect a TCP server with a client but in every connection , returns me this error... What is wrong?
server.c
Code:
#include <stdio.h>
#include <sys...
[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
My App sends same data to different destinations(peers).
A list of the peer ip adreess is maintained and data is send in a while loop.
If my understanding is correct, a socket "send&qu...
[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'm diving into IPv4 multicasting today (fun!) and I've come across what seems to be a design flaw in the IP_MULTICAST_LOOP option.
The scenario: I've got a distributed application where ...
[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 ,
Ive created a client-socket communication with AF_INET/stream sockets, i used an fixed port for the server and INADDR_ANY for its IP. Can someone explain me how the client gets ip and ...
[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, can anybody tell me why this program doesn't work:
Code:
#include <iostream.h>
#include <sys/socket.h>
#include <netdb.h>
#define PORT 6667
int main(int argc...
[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 am new to Oracle I just started
I need to know what a host string is and where I can find it?
Thanks for any help
vader545
please email me
nicholas.j...
[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 display the protocol a certain header encapsulates. I've managed to print out the value it encapsualtes.
Now I have an option to display the name of the protocol manually, le...
[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
Where are the constants for protocol fields in various protocols defined, like
IPPROTO_ICMP --> is a constant for IP header protocol field
ETH_P_IP --> is a constant for ethernet header ...
[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
Well I have a problem. Now I'm pinging the computer, but the problem is that he isn't sending and echo reply messages, why?
Code:
/********************************************************...
[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!
How can I prepare array with addresses for function sctp_bindx?
...
[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 Everyone,
I had been using select() to write asynchronous server daemons in PHP, JAVA etc and mostly used TCP. More specifically I have worked on a SMTP server in which the listening ser...
[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 programming a server that receives many clients.
I need a reliable way to find out when a client is no longer connected, like when someone does a kill -9 pid_client and kills the client ...
[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 have a requirement wherein i need to write a program such that i can make an ARP request or ARP reply. i.e. if i execute the program i should be able to make a request (send the ARP PD...
[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
In order to adapt to different OS ,such as AIX,HP-UX,Solaris,Linux, etc, our application want to exchanger tcp/ip data via network byte order between these platform, there are a set of routinues ...
[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 new with sockets, but i've to do some work for college.
i want to use select but ONLY to handle recvs, only to know when i have
data from one client to be read. I saw some example...
[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 write my Tcp server such that it should run on 4 ports. When client connect to any of the four ports Select function work. I write the code in which server would listen on single po...
[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 have this code for a udp server who recieves, say an x number of strings(here its defined by o). all the syntax error are checked but when i run this program nothing comes on the screen. it just...
[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 want to use select for Tcp program. The server would listen with multiple ports. The client would select any port.Select will use that port to establish connection. Can you please tell me where ...
[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 am having problem in a TCP Connection. The server is indicating that it has accepted the connection but the recv command is giving -1. what can be the fault. i am attaching the code also.please ...
[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,
This is Varun.
I am in a very urgent requirement.
I am jotting down the things... please help me.. its really urgent i require it...
Implement a chat server that can communicat...
[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 am having a problem in binding. Actually i had compiled a program without a close. now the port attached to is not closing and giving me a binding error. Can any one please tell me how to get ba...
[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
Welcome,
I use program which send through raw socket tcp packet to server with IP
127.0.0.1 on the same machine (a kind of loopback). When I sniff server with
tcpdump I get incorrect tcp...
[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've implemented ip + icmp by myslf, but I'm having some problems sending the icmp packet over the internet.
Here's the code:
Code:
#include <stdio.h>
#include <unistd.h...
[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,
How can I unconnect a connected UDP socket?
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
Hello!
I noticed strange thing. I wrote some code, where I run functions below immediately one, by one:
socket ()
bind ()
listen ()
accept ()
In this code accept () was always re...
[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