Hello!
Here is my new problem: i try to perform connection between javascript page on ios and livecode stack. I set up the proper ip and port data in javascript and accept connections on the same port at livecode. When ios app creates a web socket, livecode stack receives the "handshake" dialogue. After that, i parse it to find "sec-websocket-key". Then i append GUID to it and take a SHA-1. Then encode it in base64. After that i'm forming an "answer": reply to "handshake" and send it to ios javascript page. Here is the problem: how can i be sure that connection via web socket is established? And if not, how can i find the reason why it is not connecting?
May be some of you already experienced in such procedures - share with others - how it can be done?
			
			
									
									
						Web Socket
Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
			
				Jump to
				
			
		
			
			
	
	- LiveCode Community
 - ↳ Announcements
 - ↳ Developer Services Marketplace
 - ↳ User Groups and Events
 - ↳ SoCal LiveCode Group
 - ↳ Greater Toronto Area LiveCode Users Group
 - ↳ Off-Topic
 - ↳ Made With LiveCode
 - Getting Started With LiveCode
 - ↳ Getting Started with LiveCode - Complete Beginners
 - ↳ Getting Started with LiveCode - Experienced Developers
 - ↳ Converting to LiveCode
 - Developing With LiveCode
 - ↳ Talking LiveCode
 - ↳ Databases
 - ↳ Games
 - ↳ Internet
 - ↳ Multimedia
 - ↳ Software Engineering
 - ↳ Version Control
 - ↳ Feature Proposals
 - ↳ Bug Triage
 - Extending LiveCode
 - ↳ Using Plugins for Customizing the LiveCode IDE
 - ↳ Using Externals
 - ↳ Making IDE Plugins
 - ↳ Building Externals
 - ↳ LiveCode Builder
 - Platform Specific
 - ↳ Windows
 - ↳ Mac OS
 - ↳ Linux
 - ↳ iOS Deployment
 - ↳ Android Deployment
 - ↳ CGIs and the Server
 - ↳ HTML5
 - ↳ Raspberry Pi
 - Academic Endeavors
 - ↳ Teaching with LiveCode
 - ↳ Research and Post Secondary
 - ↳ LiveCode University
 - ↳ Educational Outreach
 - Livecode Open Source Archived Forum- closed to posting
 - ↳ Engine Contributors
 - ↳ IDE Contributors
 - ↳ Documentation and Tutorials
 - ↳ Brainstorms
 - ↳ Community Projects
 - LiveCode Hosting