Some questions:
- How do you plan on identifying the "nearest" server?
- What is your medium of communication? WiFi, Cell, packet radio?
- What protocol are you planning to use to connect? (HTTP, custom, etc.)
- Will your connection be permanent or momentary?