[Question] WM C# Socket TCP/IP - Windows Mobile Development and Hacking General

Hello all,
i'm looking for a tutorial to show how i can create a TCP/IP socket to send and recive datas from a server.
Have any one a link or a example?
I work with VS 2008 C# and CF .NET 3.5
Thanks,
Nico

see msdn tcpclient and tcplistener class sample

Related

Starting up GPRS connection

How can I programatically initiate a GPRS connection on an XDA (using EVB)?. I have a program which works when the connection is up (started using explorer) but fails when down. Would I do it using the TAPI?
Martin
I think you should have a look at the Connection Manager API.
I don't have any EVB sample code for you, but take a look at the PocketPC 2002 SDK sample CMHELPER usualy found at this path if you have eVC and the SDK installed:
C:\Windows CE Tools\wce300\Pocket PC 2002\samples\mfc\CMHELPER
BTW, you can download the SDK from www.pocketpc.com ...
here is the solution
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.
http://xdaconnect.wastedbrains.com
have fun,
Dan Mayer
Not knowing anything about C++, is there a simple way to open a GPRS connection with just eVB?
danmanmayer, can you send me the sources?
Or maybe somebody knows URL where can I found info about it?
Thanks in advance
SapphireRAS does all this and more.
Connects/Disconnects via GPRS using eVB or VB.Net
Create and manages connections, locations etc.
See www.sapphire-solutions.co.uk

Serial relay over GPRS?

Hi,
I was wondering if it was feesible to write a program that could transmit serial data over a TCP connection over GPRS? I was planning on connecting COM1 of my XDA II to a microcontroller.
If its all possible, is there any way I can use Visual Studio 2005 Express? I dont have a great deal of money at the moment being a student :/
You cannot use VS 2005 express. It does not support PocketPC platform. But you can download a free Embedded Visual C++ 4.0 compiler from Microsoft and write such a program. Or you can use eDonkey and download a beta version of VisualStudio 2005.
cool cheers

using alternative port for TSC in wm2003 se

hi Is there anyway to specify an alternative connetion port when connecting to a ts server from the client on the wm2003se?
i want to be able to specify the following:
123.112.123.50:2424
instead of:
123.112.123.50
any ideas? or any hacks in the registry for this?
thanks

use GPRS connection on windows mobile 2003 / Magician

Hello,
at first sorry for my english, but i try to write understandable...
I'm trying to write an application for windows mobile 2003 SE on my magician. I want to send SMS vis a HTTP Gateway like SMSoIP does.
When I try to connect to the Gateway i get an error ("An error was encountered while running this programm."). The GPRS connection on the Magician is active and my code is:
WinSock1.RemoteHost = "gateway.sms77.de"
WinSock1.RemotePort = 80
WinSock1.Connect
After Winsock has the connection i send the HTTP /GET request.
I cant use the emulator with debuggig because i run eVB in an Virtal PC. An Emulator in an emulator is not alowed
In Visual Basic 6 everything works fine and i can connect to the server. Why not with embedded VB? Do I have to make the GPRS connection "usable" for my app or something? Thanks!
i would try to port the code to vb .net
it's a more stable and mature platform then
old vb
ok, and under .net i can acces the internet without any trouble?
is there no way of getting it working with eVB?
by the way, i could also use SMSoIP if i develop in .net because SMSoIP is written in .net i think. but it does not work on my Magician. Thats the reason qhy i try to make my own SMS Application.
Thanks!
i dont know but guess so
because the chances and examblems are better supported in .net
then embedded vb which is kinda a dead platform
Magician support .net i think maybe from birth only .net1.1 but one can upgrade the compact framework free from ms for version .net2
prob .net1.1 too
ok, then i try to do it in .net
and i'll try to get SMSoIP runing on my device.
Thanks for your fast answers!

open-source NNTP client for WM5/6 .NET CF v.2.x or more

Free open project regarding exchange of GPS information from uses' PDAs needs help with creation NNTP client (working with news-server) free of charge, but basing on the ready .NET CF v.2.x DLL library implementing NNTP protocol fully.
.NET programmer(-s) (C#) aka Windows-Mobile-GPS-PDAs-users and car-fans are appreciated to be found...
It's needed a cross platform console client, using the ready GPL DLL (already .NET CF v.2.x ready) capable to:
- get NNTP server address\port; newsgroup name; headers qty to download; choosed message ID for the body download
- give the server status OK/not; save the headers list to the file of the fixed name; save the ID's message body to the file of the fixed name
-get subject\from\body\charset (WIN or KOI; KOI is supported by the DLL) and post a new message to the server
The client can be free for anybody, and will be used by other software Windows Mobile clients, for ex., for sharing users' mobile NEWS-posts via public NNTP servers (alerting about the traffic jams and so on).
p.s. http://www.trapster.com is known, but .... news-server base is interesting for local sserver usage at any place, any town or city.

Categories

Resources