0

I am a web developer, and I am confused.

Trying to make use of sprint.com's SNPP Server, snpp.messaging.sprint.com.

I look up SNPP in 40 different places. It says its simple. It says you connect on Port 444. Simple.

Here's Sprint's super clear, authoritative 8 page document on the subject.

In this SO answer, David Brown explains how this is very simple and (almost) exactly how to do it.

So... my only question is... how do I connect?

Maybe i'm being totally dumb... but can I connect via a web request to that port? Do I use a particular HTTP verb? Or is it some lower lever request that I have to make from my web server?

I feel very dumb but i'm actually quite stumped.

Community
  • 1
  • 1
dthree
  • 19,847
  • 14
  • 77
  • 106

1 Answers1

1

You'll have to open a TCP socket to port 444. How to do that depends on the language you're using, for example: fsockopen in PHP, the socket module in Python or system.net.sockets.socket in .net. Then you proceed to send the lines from the response, ending each with a line feed (\n). If you'd like, you can play with the protocol without having to program a client using Telnet in Windows or netcat in Linux/Unix. Just run the program with server/port as arguments, depending on which you use separated by a colon (:), as in the original post, or a whitespace.

Phillip
  • 13,448
  • 29
  • 41
  • Aha! Thanks. That makes more sense. I'm using Node and it looks like the 'net' module totally supports communication through TCP sockets. I'll play with it. – dthree May 27 '14 at 17:14