Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

C++ Socket Programming

843790Sep 15 2008 — edited Sep 15 2008
Hi all,

I am facing some problem in Socket programming(C++ & Solaris 5.0).I am using socket as basic connecting point & MEP(Message Exchange Protocol) as high level protocol to send & receive Message & ACK, between two different system. MEP is a protocol through which you can send MSG through Socket & wait for the ACK for the corresponding MSG & go on like this. When I am using our binary(s) between two different Solaris Box (with different IP) the transfer rate is quite good (Send one MSG & get ACK for it takes 1 millisecond).

But the problem comes when I use the same binary(s) to do the above MSG processing in the same Solaris box (with one IP), throughput goes very low (like 50 millisecond for each MSG processing). I have tried with making the socket to work in non-blocking mod also. But that does not help at all.

Looking for some quick help & hints to resolve this issue.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2008
Added on Sep 15 2008
1 comment
135 views