|
More site info...
Network Programming | Forum profile
|
|
Forum profile page for Network Programming on http://www.codeguru.com.
This report page is the aggregated overview from a single forum: Network Programming, located on the Message Board at http://www.codeguru.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Network Programming" on the Message Board at http://www.codeguru.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Network Programming:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
7
|
47
|
116
|
|
Post:
|
9
|
77
|
221
|
|
|
Network Programming Posting activity graph:
|
Top authors during last week:
user's latest post:
recv:bad address error
Published (2009-12-07 05:59:00)
hi, im getting recv:bad address error in the server code when im receiving the data from the client.i tried passing the structure and an integer alone ,but for both i got the same error. for structures: client: Code: struct Data { char data1[255]; char data2[255]; int val1; }; struct Data myData = { "Let us C", "YPK", 101 } ; int ch = send(create_socket,&myData,sizeof(struct Data), 0); server: Code:...
user's latest post:
raw sockets in wireless network...
Published (2009-12-07 13:47:00)
Hi, I need help regarding the raw sockets in wireless (802.11 or wifi) networking. I want to send a packet using raw socket (on data-link-layer or layer 2) from STAtion to AP (Access Point). Just for info: I am using madwifi as wifi-driver on ubuntu 8.04. So, I want to send packet of ath0 of one device to ath0 of other device. Of course using raw sockets.... I searched on the net extensively (believe me, i am doing it rigourously from last 5...
user's latest post:
Is there any way to overcome the...
Published (2009-12-06 07:08:00)
need to connect to computer over tcp/ip i have the external ip but without port forwarding I can't connect to the server . Is there any way to configure the server to accepts connection on the external ip and port define by the server without configuring the router ? (how does emule, FogCreek CoPilot, LogMeIn does it ? or other peer to peer application )
user's latest post:
C Programming: give command a 5...
Published (2009-12-05 21:31:00)
Hi all, I am new to C and I need some help solving an issue with network programming. So in general, i have two programs running: Program A and Program B. Description of A: Send out packet with SN = i (SN is the label for the packet. i.e first pkt SN=1, 2nd pkt SN=2 etc) Set timer If RN=x is received from B, and x=i+1, set SN=i+1. (RN is label for packet coming back from B) Otherwise, ignore. If timer expires, resend pkt SN=i Reset timer and...
pratyushvb pratyushvb is offline...
1
user's latest post:
raw sockets in wireless network...
Published (2009-12-07 13:47:00)
Hi, I need help regarding the raw sockets in wireless (802.11 or wifi) networking. I want to send a packet using raw socket (on data-link-layer or layer 2) from STAtion to AP (Access Point). Just for info: I am using madwifi as wifi-driver on ubuntu 8.04. So, I want to send packet of ath0 of one device to ath0 of other device. Of course using raw sockets.... I searched on the net extensively (believe me, i am doing it rigourously from last 5...
user's latest post:
recv:bad address error
Published (2009-12-07 20:44:00)
You're using an uninitialized pointer in each case of recv. Just pass the actual address of your structure and cast it to char * for the recv call: Code: struct Data { char data1[255]; char data2[255]; int val1; }; struct Data dt int ch=recv(new_socket,(char *)&dt,sizeof(struct Data),0); printf("The Elements of structure "); printf("Book- %s Author- %s Code- %d",dt.data1,dt.data2,dt.val1); and:...
user's latest post:
redirecting Skype output speech...
Published (2009-12-09 22:19:00)
Hello! SUMMARY: I'd like to create such a system: [1] Skype on mobile phone -> [2] Skype on server -> [3] plugin to Skype (3rd party application) -> [4] speech recognition Sphinx4. Normally Skype outputs speech to the speaker, normal behaviour of Sphinx4 is to receive speech from microphone. I need to change it so that Skype would redirect its output sound to TCP socket and Sphinx4 would receive it from this TCP...
user's latest post:
Udp so_reuseaddr
Published (2009-12-13 13:15:00)
I have this problem. Have an application ( Warcraft III ) that uses udp broadcasts for lan management , usually when you run the application two times and join the LAN with one you can't join with the other because bind fails, so I hooked bind and used the SO_REUSEADDR option and that worked I was able to join LAN with both clients, now when I create a game broadcast packets are sent from both clients to retrieve games, notify for game...
|
|
|
|
Latest active threads on Network Programming::
Started 1 week, 1 day ago (2009-12-07 20:44:00)
by hoxsiew
You're using an uninitialized pointer in each case of recv. Just pass the actual address of your structure and cast it to char * for the recv call:
Code:
struct Data
{
char data1[255];
char data2[255];
int val1;
};
struct Data dt
int ch=recv(new_socket,(char *)&dt,sizeof...
Started 1 week, 2 days ago (2009-12-07 13:47:00)
by pratyushvb pratyushvb is offline Junior Member
Hi,
I need help regarding the raw sockets in wireless (802.11 or wifi) networking.
I want to send a packet using raw socket (on data-link-layer or layer 2) from STAtion to AP (Access Point).
Just for info: I am using madwifi as wifi-driver on ubuntu 8.04. So, I want to send packet of ath0 of one device to ath0 of other device. Of course using raw sockets....
I searched on the net ...
Started 1 month ago (2009-11-12 02:45:00)
by pcrouch pcrouch is offline Junior Member
Hello,
I need to check if an ip has already bound to an adapter or not. While binding it, I am using windows' AddIPAddress(); somewhere I need to check if that ip is added to that adapter, but could not find related windows method for that.
Started 3 weeks, 1 day ago (2009-11-24 09:49:00)
by hoxsiew
It really depends on your implementation. You could use select with a reasonable timeout period (determined by many factors). Select followed by send()/recv() will either work, return and error, or timeout. If you get any error, close the socket. If the timeout expires, consider it a problem and preemptively close the socket. In either case, if it's the client, attempt to reconnect, or on ...
Started 1 week, 5 days ago (2009-12-03 15:10:00)
by hoxsiew
The behavior you describe is indeed inconsistent with the documentation. I would suspect that something else is amiss somewhere else in the code, but I have no idea what it would be.
|
|
Hot threads for last week on Network Programming::
Started 1 week, 2 days ago (2009-12-07 13:47:00)
by pratyushvb pratyushvb is offline Junior Member
Hi,
I need help regarding the raw sockets in wireless (802.11 or wifi) networking.
I want to send a packet using raw socket (on data-link-layer or layer 2) from STAtion to AP (Access Point).
Just for info: I am using madwifi as wifi-driver on ubuntu 8.04. So, I want to send packet of ath0 of one device to ath0 of other device. Of course using raw sockets....
I searched on the net ...
Started 1 week, 1 day ago (2009-12-07 20:44:00)
by hoxsiew
You're using an uninitialized pointer in each case of recv. Just pass the actual address of your structure and cast it to char * for the recv call:
Code:
struct Data
{
char data1[255];
char data2[255];
int val1;
};
struct Data dt
int ch=recv(new_socket,(char *)&dt,sizeof...
|
|