Click here to Skip to main content
14,736,405 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: socket buffer problem Pin
trioum4-Feb-10 3:16
Membertrioum4-Feb-10 3:16 
GeneralRe: socket buffer problem Pin
Moak4-Feb-10 3:29
MemberMoak4-Feb-10 3:29 
GeneralRe: socket buffer problem Pin
trioum4-Feb-10 3:53
Membertrioum4-Feb-10 3:53 
GeneralRe: socket buffer problem Pin
Moak4-Feb-10 4:33
MemberMoak4-Feb-10 4:33 
AnswerRe: socket buffer problem Pin
fat_boy5-Feb-10 2:24
Memberfat_boy5-Feb-10 2:24 
GeneralRe: socket buffer problem Pin
trioum5-Feb-10 3:07
Membertrioum5-Feb-10 3:07 
GeneralRe: socket buffer problem Pin
fat_boy5-Feb-10 4:11
Memberfat_boy5-Feb-10 4:11 
GeneralRe: socket buffer problem Pin
trioum5-Feb-10 5:35
Membertrioum5-Feb-10 5: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 6:23
Memberfat_boy5-Feb-10 6:23 
GeneralRe: socket buffer problem Pin
fat_boy5-Feb-10 6:24
Memberfat_boy5-Feb-10 6:24 
QuestionRSS Feed Pin
kk.tvm3-Feb-10 23:51
Memberkk.tvm3-Feb-10 23:51 
AnswerRe: RSS Feed Pin
CPallini4-Feb-10 0:00
mveCPallini4-Feb-10 0:00 
Questionusing string compare Pin
benjamin yap3-Feb-10 22:59
Memberbenjamin yap3-Feb-10 22:59 
AnswerRe: using string compare Pin
Richard MacCutchan3-Feb-10 23:19
mveRichard MacCutchan3-Feb-10 23:19 
GeneralRe: using string compare Pin
benjamin yap3-Feb-10 23:33
Memberbenjamin yap3-Feb-10 23:33 
GeneralRe: using string compare Pin
Richard MacCutchan4-Feb-10 0:25
mveRichard MacCutchan4-Feb-10 0:25 
GeneralRe: using string compare Pin
CPallini4-Feb-10 0:59
mveCPallini4-Feb-10 0:59 
GeneralRe: using string compare Pin
Richard MacCutchan4-Feb-10 1:04
mveRichard MacCutchan4-Feb-10 1:04 
Questionhiding unused menus using MFC Pin
Syama Sundar3-Feb-10 21:28
MemberSyama Sundar3-Feb-10 21:28 
AnswerRe: hiding unused menus using MFC Pin
Madhu Nair3-Feb-10 22:21
MemberMadhu Nair3-Feb-10 22:21 
GeneralRe: hiding unused menus using MFC Pin
Syama Sundar3-Feb-10 22:31
MemberSyama Sundar3-Feb-10 22:31 
GeneralRe: hiding unused menus using MFC Pin
Alain Rist3-Feb-10 22:38
MemberAlain Rist3-Feb-10 22:38 
AnswerRe: hiding unused menus using MFC Pin
Madhu Nair3-Feb-10 22:34
MemberMadhu Nair3-Feb-10 22:34 
AnswerRe: hiding unused menus using MFC Pin
Syama Sundar3-Feb-10 23:17
MemberSyama Sundar3-Feb-10 23:17 
GeneralRe: hiding unused menus using MFC Pin
sthalasayanam4-Feb-10 3:41
Membersthalasayanam4-Feb-10 3: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.