<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Some code to get Winsock working over GPRS on a PPC 2003?</title>
	<link>http://ask.metafilter.com/47863/Some-code-to-get-Winsock-working-over-GPRS-on-a-PPC-2003/</link>
	<description>Comments on Ask MetaFilter post Some code to get Winsock working over GPRS on a PPC 2003?</description>
	<pubDate>Wed, 04 Oct 2006 05:55:43 -0800</pubDate>
	<lastBuildDate>Wed, 04 Oct 2006 05:55:43 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Some code to get Winsock working over GPRS on a PPC 2003?</title>
		<link>http://ask.metafilter.com/47863/Some-code-to-get-Winsock-working-over-GPRS-on-a-PPC-2003</link>	
		<description>How do I program Winsock to work right over a GPRS connection on a PPC 2003? &lt;br /&gt;&lt;br /&gt; So I have a Pocket PC 2003 and it&apos;s also a mobile phone (one of the new HP iPaqs Cingular offers).&lt;br&gt;
&lt;br&gt;
I&apos;m looking for some code to start and process a connection with the ConnectionManager, then connect and send/receive bytes with Winsock (socket, connect, send, recv). I can initiate a connection with EstablishConnectionSync and check the status, and even get the IP address, but when I try to do a DNS lookup with Winsock it gives me addresses that don&apos;t make sense, and it won&apos;t connect to remote IPs. I&apos;m even binding to the IP I get from the Connection Manager (as has been suggested when you have a multihomed computer and want to use a specific interface), and I think it&apos;s right because I can ping google.com from Pocket Ping and it registers the same local IP I get from the ConnectionManager.&lt;br&gt;
&lt;br&gt;
I&apos;ve been searching for about a week and I can&apos;t find an example of anything that attaches to GPRS, makes a connection over Winsock and sends and receives data. Do I have to use the Wininet API (ugh) or can I stick with my regular winsock code that works perfectly on my desktop PC? I&apos;m using eVC++ 3.0.&lt;br&gt;
&lt;br&gt;
What critical step am I missing here??!?&lt;br&gt;
&lt;br&gt;
Thanks very much in advance...</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.47863</guid>
		<pubDate>Wed, 04 Oct 2006 05:05:20 -0800</pubDate>
		<dc:creator>ostranenie</dc:creator>
		
			<category>winsock</category>
		
			<category>gprs</category>
		
			<category>mobile</category>
		
			<category>programming</category>
		
			<category>phone</category>
		
	</item> <item>
		<title>By: mr_silver</title>
		<link>http://ask.metafilter.com/47863/Some-code-to-get-Winsock-working-over-GPRS-on-a-PPC-2003#728024</link>	
		<description>I&apos;m afriad I can&apos;t help you, but you might want to consider posting your question to one of the newsgroups - &lt;a href=&quot;http://groups.google.co.uk/group/microsoft.public.pocketpc.developer&quot;&gt;microsoft.public.pocketpc.developer&lt;/a&gt; for example.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47863-728024</guid>
		<pubDate>Wed, 04 Oct 2006 05:55:43 -0800</pubDate>
		<dc:creator>mr_silver</dc:creator>
	</item><item>
		<title>By: ijsbrand</title>
		<link>http://ask.metafilter.com/47863/Some-code-to-get-Winsock-working-over-GPRS-on-a-PPC-2003#728063</link>	
		<description>Is there an init string for the GPRS-modem you might miss? Just so you are really entering the internet zone defined by your telecom operator?&lt;br&gt;
&lt;br&gt;
When I use my phone as a GPRS modem for a laptop, that&apos;s the one thing always troubling me.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47863-728063</guid>
		<pubDate>Wed, 04 Oct 2006 06:33:31 -0800</pubDate>
		<dc:creator>ijsbrand</dc:creator>
	</item><item>
		<title>By: GuyZero</title>
		<link>http://ask.metafilter.com/47863/Some-code-to-get-Winsock-working-over-GPRS-on-a-PPC-2003#728131</link>	
		<description>I&apos;m surprised there&apos;s no sample code in eVC that shows how to do this. It seems like a simple task. Try looking for sample code.&lt;br&gt;
&lt;br&gt;
My experience with a PPC using Bluetooth over a phone is that apps don&apos;t start the connections themselves - they either  just open the socket, triggering an automatic initiation of the default connection or they fail and require the connection to be started manually.&lt;br&gt;
&lt;br&gt;
Also, the dev newgroup posted by mr_silver is probably a much better bet than here.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47863-728131</guid>
		<pubDate>Wed, 04 Oct 2006 07:21:44 -0800</pubDate>
		<dc:creator>GuyZero</dc:creator>
	</item><item>
		<title>By: fishfucker</title>
		<link>http://ask.metafilter.com/47863/Some-code-to-get-Winsock-working-over-GPRS-on-a-PPC-2003#728395</link>	
		<description>Not sure if this will be useful to you, since it appears that you are handrolling something, but I also use my phone as a &apos;GPRS&apos; modem for my laptop.* My data plan w/ t mobile requires me to use a WAP proxy to connect to any sites, although I will get a &quot;connected&quot; indication right when I link up. It took me a bit of searching to discover that this proxy existed, so maybe you are in the same situation. &lt;br&gt;
&lt;br&gt;
See &lt;a href=&quot;http://www.gruups.com/tzones/&quot;&gt;here&lt;/a&gt; for more info. &lt;br&gt;
&lt;br&gt;
&lt;small&gt;* quote unquote GPRS because I only get WAP speeds with my service plan.&lt;/small&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.47863-728395</guid>
		<pubDate>Wed, 04 Oct 2006 10:18:59 -0800</pubDate>
		<dc:creator>fishfucker</dc:creator>
	</item>
	</channel>
</rss>
