writing sever/client using SO_KEEPALIVE,
as i'm using concurrent server when the client dies or conxn breaks(network problem), server handling that client has to exit,
Initially i tried with read...
[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 would like to ask whether is possible to establish TCP connection between raw socket (client) and unix/stream socket (server)?
I read a lot about making DoS attacks by raw socke...
[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
Dear All,
I want to send and receive data of approx 5-6Kb using TCP.Can anyone guide me how should i do it.
I have written a basic code for sending and receiving data in one go.But I suppo...
[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
iptables -t nat -A PREROUTING -p tcp -m mac --mac-source 00:19:5B:6C:12:21 --dport 80 -j DNAT --to-destination 192.168.10.103:80
using this cmd to redirect packets on 104 g/keeper to 103 but...
[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
Dear All,
I am rather new to socket programming and unix based C.Please guide me with the concurrency issues, I should keep in mind while writing a Client application.If possible please help...
[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 there,
Can anybody describe to me the send/transmit operation of 3com 3c 905 Ethernet NIC? I am using it in Linux 2.4.18. When I treid to learn about the operation by adding printk() s 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
now I have a large file which need to be tranfered to the other end using the socket ? the size of the file is 300M,how I can do ? whether I can put it in the socket buffer directly.
...
[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 working on a program where each instance of my program is (supposed to be) able to send broadcast UDP packets and receive same on its UDP socket. For reasons that aren't worth goi...
[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
Quick question about UNIX domain sockets.
I was under the impression that the TIME_WAIT state applied only to TCP sockets and not to UNIX domain sockets, which I feel is a reasonable assumptio...
[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
now I want to implement a simple network management system,using SNMP protocol, can anyone offer me some open source code about network management system? can anyone give me some advices on what I...
[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 question on whether there will be any conflict in using xdr_destroy and free.
Basically, I have a 'struct a' like this:
Code:
struct a
{
int num;
struct b *b;
}
where 's...
[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 rather new to sockets, I am managing fine without threads, but I now want to setup a very rough network between nodes (network pcs). Each node should be able to have multiple threads, 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
Hello,
We are currently using a program where we recieve the details from the client. It is recieved through sockets.
It is working fine. i.e. When we start the program afresh we do get deta...
[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 again!
This time I have questions about possible error returned by getaddrinfo and getnameinfo. I use these functions to prepare sockaddr structures, which will be used with connect or b...
[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 writting single server multiple client program.The program requirement is everytime client initiates the connection with server on some port(for example port no.80).After receiving 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
First time perror shows sucess and then it gives illegal seek
CODE::
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#i...
[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 need to know if platform, where my library is compiled, supports IPv6. I use Autotools, so if i check using AC_CHECK_FUNC if function 'getaddrinfo ()' is available I can take for gran...
[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 a cpu structure which contains an integer and an array of 'percpu' structures. I am using the functions xdr_cpu and xdr_percpu to encode it using XDR. When 'xdr_cpu' calls the 'xdr_percpu',...
[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
How to assign multiple ip address to same interface ? what we can acheive or for what purpose does it solve ?
...
[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
Dear All,
My client application is in C and server application is in Java and it uses TCP protocol. If at any particular time When the server application is not up and client tries to connect...
[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 the udp socket communication ,how can I make a recvfrom() is a non-blocking function?
that is to say , if I do not have data to receive,I want to make the function recvfrom() return at once...
[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 working as a tech consultant, in my company they gave me a big project. I need to start the project within 1 month I have some problem with my network and database, in our company schedule I n...
[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
When I use sendto() on a UDP socket without using bind. I found that I can still receive the any UDP packet through recv (). Is it possible to specify that I will not be taking any packets so all ...
[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 specify the source address in the outgoing packets(UDP/TCP). I have created a UDP socket and it binds to port A and address x.x.x.x. Now all packets sent out using this socket fd ...
[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 having trouble writing some UDP socket code. I want to write a server to listen to all packets from a UDP port. I used recvfrom() with MSG_DONTWAIT. However, the server will not receive any...
[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