WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Samples From Users

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

SNPP Sample


SNPP or Simple Network Paging Protocol - SNPP provides a simple way to make a link between the Internet and a TAP compliant paging terminal.

For more info about SNPP see:http://www.snpp.info/

#DefineFunction SendPage(pin,text)
	socket = sOpen ()
	sConnect (socket, "snpp.skytel.com", "7777")
	
	a=sSendLine(socket,StrCat("page ",pin))
	a1=sRecvLine(socket,256)
	Display(1,"",a1)
	
	b=sSendLine(socket,StrCat("mess ",text))
	b1=sRecvLine(socket,256)
	Display(1,"",b1)
	
	c=sSendLine(socket,"send")
	c1=sRecvLine(socket,256)
	Display(1,"",c1)
	
	d=sSendLine(socket,"quit")
	d1=sRecvLine(socket,256)
	Display(1,"",d1)
	
	sClose(socket)
#EndFunction

AddExtender("wwwsk34i.dll")
SendPage(pin,"Hello World")



Article ID:   W16385
File Created: 2005:02:18:12:20:12
Last Updated: 2005:02:18:12:20:12