Click here to Skip to main content
15,891,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: socket buffer problem Pin
trioum4-Feb-10 2:16
trioum4-Feb-10 2:16 
GeneralRe: socket buffer problem Pin
Moak4-Feb-10 2:29
Moak4-Feb-10 2:29 
GeneralRe: socket buffer problem Pin
trioum4-Feb-10 2:53
trioum4-Feb-10 2:53 
GeneralRe: socket buffer problem Pin
Moak4-Feb-10 3:33
Moak4-Feb-10 3:33 
AnswerRe: socket buffer problem Pin
fat_boy5-Feb-10 1:24
fat_boy5-Feb-10 1:24 
GeneralRe: socket buffer problem Pin
trioum5-Feb-10 2:07
trioum5-Feb-10 2:07 
GeneralRe: socket buffer problem Pin
fat_boy5-Feb-10 3:11
fat_boy5-Feb-10 3:11 
GeneralRe: socket buffer problem Pin
trioum5-Feb-10 4:35
trioum5-Feb-10 4:35 
Are they all directly on the internet or are they hding behind NAT? If so you need to makwe sure you have NAT traversal enabled in the proxies.

answer : they all are directly on the internet


A Broadcast address (255.255.255.255) is for all devices on the subnet. A Unicast address is for one machine.

answer : This is not Broadcast sure . I donot know unicast

If you cant ping I dont see how you can sockets to work.

answer : server on public IP you can ping any where from world no proxy nat at all


ARP is hardware to IP address mapping. If you are on a LAN this is important, and thats the normal place to use sockets. On a pure IP backbone ARP isnt used of course.
answer : I think there is no need

Ditto the network cards.


And you say on some machines the sockets work. Hmmm.... client to server, or server to client (ie which is the watcher and which is opening the socket)?

answer : server on public IP is listener . and client on any where in the world open socket communication with the server with IP and port number

Even on th eones that work, ie the watcher can accept an incoming socket open, can it respond sucessully with that response arriving at the initiator?

answer : it respond succesfuully with the server

I think NAT is going to kill this dead. You need to have NAT traversal at least to have your clients IP addresses public enough to be visible to the server

answer : on one timer tick (usually 100ms) any client get the data and on next tick donot get and again get on next tick . this is happening randomly with all clients ,and I am sure all clients are connected sussefully to the server.

Trioum

GeneralRe: socket buffer problem Pin
fat_boy5-Feb-10 5:23
fat_boy5-Feb-10 5:23 
GeneralRe: socket buffer problem Pin
fat_boy5-Feb-10 5:24
fat_boy5-Feb-10 5:24 
QuestionRSS Feed Pin
kk.tvm3-Feb-10 22:51
kk.tvm3-Feb-10 22:51 
AnswerRe: RSS Feed Pin
CPallini3-Feb-10 23:00
mveCPallini3-Feb-10 23:00 
Questionusing string compare Pin
benjamin yap3-Feb-10 21:59
benjamin yap3-Feb-10 21:59 
AnswerRe: using string compare Pin
Richard MacCutchan3-Feb-10 22:19
mveRichard MacCutchan3-Feb-10 22:19 
GeneralRe: using string compare Pin
benjamin yap3-Feb-10 22:33
benjamin yap3-Feb-10 22:33 
GeneralRe: using string compare Pin
Richard MacCutchan3-Feb-10 23:25
mveRichard MacCutchan3-Feb-10 23:25 
GeneralRe: using string compare Pin
CPallini3-Feb-10 23:59
mveCPallini3-Feb-10 23:59 
GeneralRe: using string compare Pin
Richard MacCutchan4-Feb-10 0:04
mveRichard MacCutchan4-Feb-10 0:04 
Questionhiding unused menus using MFC Pin
Syama Sundar3-Feb-10 20:28
Syama Sundar3-Feb-10 20:28 
AnswerRe: hiding unused menus using MFC Pin
Madhu Nair3-Feb-10 21:21
Madhu Nair3-Feb-10 21:21 
GeneralRe: hiding unused menus using MFC Pin
Syama Sundar3-Feb-10 21:31
Syama Sundar3-Feb-10 21:31 
GeneralRe: hiding unused menus using MFC Pin
Alain Rist3-Feb-10 21:38
Alain Rist3-Feb-10 21:38 
AnswerRe: hiding unused menus using MFC Pin
Madhu Nair3-Feb-10 21:34
Madhu Nair3-Feb-10 21:34 
AnswerRe: hiding unused menus using MFC Pin
Syama Sundar3-Feb-10 22:17
Syama Sundar3-Feb-10 22:17 
GeneralRe: hiding unused menus using MFC Pin
sthalasayanam4-Feb-10 2:41
sthalasayanam4-Feb-10 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.