473,381 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,381 software developers and data experts.

Socket Programming

Hi All,
I'm a newbe to socket programming, I need to work on a project that
has to be developed in C++ or Visual C++ ( I have 8.0 version) console
application. which will be execute from a Java GUI application using
dos command and pass a userid, password and a port number( to connect
back to Java GUI using TCPprovided ) using the user and password
information I need to connect to a vendor using there API and get the
information from the vendor and pa it back to the Java GUI appl using
the port number provided.

Some of my questions

How do I connect back to Java GUI using the provided port number and
how do I send the information to this port. I believe I need to use
some socket programming. but not sure of the best approach.

I would greatly apreciate if some one can provide me some good
suggestions.

Regards,
Sandy

Feb 2 '07 #1
2 2687
IR
Sandy wrote:
Hi All,
I'm a newbe to socket programming, I need to work on a project
that has to be developed in C++ or Visual C++ ( I have 8.0
version) console application. which will be execute from a Java
GUI application using dos command and pass a userid, password and
a port number( to connect back to Java GUI using TCPprovided )
using the user and password information I need to connect to a
vendor using there API and get the information from the vendor and
pa it back to the Java GUI appl using the port number provided.

Some of my questions

How do I connect back to Java GUI using the provided port number
and how do I send the information to this port. I believe I need
to use some socket programming. but not sure of the best approach.

I would greatly apreciate if some one can provide me some good
suggestions.
This group is not qualified to deal with this kind of questions.
It's all about *standard* C++. Sockets, Visual C++, Java or GUI are
not part of the ISO IEC 14882 standard.

I'd suggest you to ask your questions to a more qualified group,
which deals with your platform (with "microsoft" and/or "visual"
and/or "windows" in the group name).
Cheers,
--
IR
Feb 2 '07 #2
Sandy wrote:
Hi All,
I'm a newbe to socket programming, I need to work on a project that
has to be developed in C++ or Visual C++ ( I have 8.0 version) console
application. which will be execute from a Java GUI application using
dos command and pass a userid, password and a port number( to connect
back to Java GUI using TCPprovided ) using the user and password
information I need to connect to a vendor using there API and get the
information from the vendor and pa it back to the Java GUI appl using
the port number provided.

Some of my questions

How do I connect back to Java GUI using the provided port number and
how do I send the information to this port. I believe I need to use
some socket programming. but not sure of the best approach.

I would greatly apreciate if some one can provide me some good
suggestions.

Regards,
Sandy
Your question is not relevant in this newsgroup, but do a search for the
winsock programmers FAQ.

--
Scott McPhillips [VC++ MVP]

Feb 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: pyguy2 | last post by:
Issues of socket programming can be wierd, so I'm looking for some comments. In my python books I find exclusive use of socket.close(). From my other readings, I know about a "partial close...
5
by: John Sheppard | last post by:
Hi all, I am not sure that I am posting this in the right group but here it goes anyway. I am new to socket programming and I have been searching on the internet to the questions I am about to pose...
1
by: John Sheppard | last post by:
Thanks to everyone that responded to my previous Socket Programming question. Now I have run into some behavior that I don't quite understand. Programming environment. VS.NET 2003, C#, Windows...
5
by: mscirri | last post by:
The code below is what I am using to asynchronously get data from a PocketPC device. The data comes in fine in blocks of 1024 bytes but even when I send no data from the PocketPC constant blocks of...
2
by: djc | last post by:
I read a network programming book (based on framework 1.1) which indicated that you should 'never' use the RecieveTimeout or the SendTimeout 'socket options' on TCP sockets or you may loose data. I...
10
by: Uma - Chellasoft | last post by:
Hai, I am new to VB.Net programming, directly doing socket programming. In C, I will be able to map the message arrived in a socket directly to a structure. Is this possible in VB.Net. Can...
11
by: atlaste | last post by:
Hi, In an attempt to create a full-blown webcrawler I've found myself writing a wrapper around the Socket class in an attempt to make it completely async, supporting timeouts and some scheduling...
0
by: shonen | last post by:
I'm currently attempting to connect to a shoutcast server pull down the information from here and then I'll parse it. I got this working with the httplib, which was great, the problem is I want...
8
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi all, I am new to .net technologies. ASP.NET supports socket programming like send/receive in c or c++? I am developing web-site application in asp.net and code behind is Visual C#. In...
3
by: Stuart | last post by:
I am in the process of teaching myself socket programming. I am "playing around" with some simple echo server-client programs for m the book TCP/IP Sockets in C. The Server program is: ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.