Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


TCP/IP Based Network traffic (Like WinSock)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-2008, 03:05 PM
Newbie
 
Join Date: Mar 2008
Posts: 9
Default TCP/IP Based Network traffic (Like WinSock)

TCP/IP Based Network traffic (Like WinSock)

--------------------------------------------------------------------------------

I am trying to write a program that has a Client/Server structure.
The Client has to communicate raw data (no files but strings and numbers)through the Internet with the server. This has to be a two way communication.

The server application has to be able to handle multiple clients at the same time. So this will be written in MS VS NET 2005.

Is there a way with the current version of Basic4PPC to do this????
Reply With Quote
  #2 (permalink)  
Old 03-27-2008, 03:21 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Yes, with the Network library: http://www.basic4ppc.com/help/network/index.html
Reply With Quote
  #3 (permalink)  
Old 03-27-2008, 03:27 PM
Newbie
 
Join Date: Mar 2008
Posts: 9
Default

Quote:
Originally Posted by Erel View Post
Ok, thought that also, but in the help there is only mention of files that are sent. How do i send just a text string from a textbox, or the vlue of a variable. Do you have an example of that?
Reply With Quote
  #4 (permalink)  
Old 03-27-2008, 05:01 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

The example in the help is of sending strings.
After you get a stream with client.GetStream you can send any data you want with a BinaryFile object.
Reply With Quote
  #5 (permalink)  
Old 03-27-2008, 05:02 PM
Newbie
 
Join Date: Mar 2008
Posts: 9
Default

Quote:
Originally Posted by Erel View Post
The example in the help is of sending strings.
After you get a stream with client.GetStream you can send any data you want with a BinaryFile object.
Thanks. Will try that.
And this will communicate with VB.NET 2005???
Reply With Quote
  #6 (permalink)  
Old 03-27-2008, 05:05 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

It can communicate with any TCP server.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP with Network Byak@ Questions & Help Needed 7 09-03-2008 12:06 PM
Basic4PPC based on CE 4.1 ysut Questions & Help Needed 3 08-08-2008 10:00 AM
Network Heinz Questions & Help Needed 1 02-24-2008 11:30 AM
out-of-memory-error based on timer after switching to V6 Frank Questions & Help Needed 2 01-17-2008 04:26 PM
network and WEB??? Brian Questions & Help Needed 0 05-05-2007 08:22 AM


All times are GMT. The time now is 03:29 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0