PDA

View Full Version : How receive data from a tcp/ip port?


mapick
10-19-2008, 09:15 AM
Hi, excuse me, but I'm not sure this is the right forum...

I have many GPS/GPRS sending TCP/IP data. I can programm only SERVER IP and SERVER PORT where trackers send coordinates.

Can I configure my web site to receive gps data (to store them in a sql table) and how? Peraphs a web service... but how connect it to a port?
In general I spent hours on internet to understand how listen froma port from an asp.net web site, but nothing (or at least: nothing I can understand!)

Please help me! Thanks...

mapick
10-20-2008, 01:50 AM
After other internet search (and, if possible, now I'm more confuse!) I "isolated the general problem":
How configuremy website to receive data from external sources or services and store them inmy SQL database?
In particulare I've a GPS/GPRS sending data trough a TCP/IP:Port

Thanks everyone can help me... mapick

mapick
10-21-2008, 12:12 PM
Mybe I found a good way to affort my problem at http://msdn.microsoft.com/en-us/magazine/cc163357.aspx

Please tell me if someone has further suggestion or alternative solutions, I'll keep you informed if I can solve something using IIS...

mapick
10-22-2008, 07:00 AM
I found another good link toward solution usingWCF in IIS 7 (...so probably this isn't the right forum...):

http://msdn.microsoft.com/en-us/library/bb332338.aspx

I'll keep the post updated, and if somone is interested I always hope in examples, suggestion and help!
Thanks

Xleeque
04-14-2009, 06:27 AM
Hi Mapick, I afraid you can't have an application on DASP server listening to any ports. Here's a topic which I find related to what you are asking:

http://community.discountasp.net/showthread.php?t=7607