bonjour

IOS Receiving video from Network

半腔热情 提交于 2020-01-03 05:50:36
问题 UPDATE - I have fixed some mistakes in the code below and the images are displayed on the other device, but I have another problem. While video capture is open, the "master" device sends data continuously, sometimes this capture appears on "slave" device and in a very short time, the image "blinks" to blank and repeat this all time for a short period. Any idea about this? I'm working on a app that's need to send live camera capture and live microphone capture to another device in network. I

ios file sharing/sync to devices from mac/pc

心不动则不痛 提交于 2020-01-03 04:18:07
问题 I have developed the ipad app which displays images and other product details from sqlite db. I have also developed .net based windows application which resides on Windows xp pc. This application generates data in sqlite db and also map each record with related images. This flow is working fine till now with itunes filesharing feature enabled. So the user copy sqlite db and images(around 2-3 gb) to iPad through itunes file sharing. Recently I came across Bonjour service which is used to

Phonegap Bonjour/Zeroconf or Websocket IP Discovery from HTML5

别等时光非礼了梦想. 提交于 2020-01-01 12:32:30
问题 I am trying to implement a Phonegap (HTML5) application which connects to a Websocket server (running in an embedded device, also has Bonjour service) to exchange data within home network. I would like to know the best possible way of detecting the server IP using Phonegap. I have explored and found that Titanium and Quickconnect support Bonjour. But I would like to stick to Phonegap for various other reasons. Any alternative way of detecting the server IP within the local network is also

ZeroConf/Bonjour Code that works in Delphi 7 not working in 2009

为君一笑 提交于 2019-12-29 07:52:20
问题 I have the following declaration for DNSServiceRegister: function DNSServiceRegister ( var sdRef: TDNSServiceRef; const flags: TDNSServiceFlags; const interfaceIndex: uint32_t; const name: PUTF8String; //* may be NULL */ const regType: PUTF8String; const domain: PUTF8String; //* may be NULL */ const host: PUTF8String; //* may be NULL */ const port: uint16_t; const txtLen: uint16_t; const txtRecord: Pointer; //* may be NULL */ const callBack: TDNSServiceRegisterReply; //* may be NULL */ const

NSNetService Assign IP Address using C#

久未见 提交于 2019-12-25 00:37:33
问题 Using Python link I am able to publish a service set the IP address that I want to connect to when user selects the device in control Center. Below is the Code for Python. Now using NSNetService in C# I am trying to achieve same thing. Publish is working but adding the IP address socket.inet_aton("10.100.X.XX") To NSNet service I am unable to achieve that in C#. Please post some guidelines to achieve. How can I add the IP address to the NSNETService to show that IP address in NSNetBrowser.

Service discovery using dns-sd

笑着哭i 提交于 2019-12-24 08:55:34
问题 I have a device which is configured in station mode. Device is connected to a smart phone over hotspot provided by smartphone. Device needs to search for a service published by an application on smartphone say _abc._tcp. I am using the command dns-sd -B _abc._tcp but no output. Please guide me what I may be missing. The application publishes the service. I verified it using Bonjour application on android. Also please clarify Is it possible to discover the services while in station mode. While

Service discovery using dns-sd

二次信任 提交于 2019-12-24 08:55:14
问题 I have a device which is configured in station mode. Device is connected to a smart phone over hotspot provided by smartphone. Device needs to search for a service published by an application on smartphone say _abc._tcp. I am using the command dns-sd -B _abc._tcp but no output. Please guide me what I may be missing. The application publishes the service. I verified it using Bonjour application on android. Also please clarify Is it possible to discover the services while in station mode. While

What's the strategy of DNS-SD services responding to mDNS query?

帅比萌擦擦* 提交于 2019-12-24 08:29:05
问题 I am trying to gather some information of devices connected on the wifi with DNS-SD. When I use dns-sd -B _services._dns-sd._udp (OS X)/ avahi-browse -t _services._dns-sd._udp (Linux) repeatedly to observe the published services, I get more or less output while devices(Mac and iPhone) are always connected. For example, this service(used by iTunes for Wi-Fi sync) shows occasionally while no one changes the sync setting of the iPhone. Timestamp A/R Flags if Domain Service Type Instance Name 12

Cocoa Touch Bonjour how to deal with NSNetService addresses and uint8_t

混江龙づ霸主 提交于 2019-12-24 01:46:18
问题 I'm attempting to make an iOS app communicate with a server that uses Bonjour and uses HTTP commands. So far I have been able to find the local domain and locate the particular service I'm looking for. I am able to resolve the address of the service, but I don't know how to get something useful out of the address. The address from the NSNetService is a NSData object and I have no idea what to do with it. I need to send commands like GET and PUT. What cocoa classes handle things like this? I

Send messages between iPhone & Mac

你说的曾经没有我的故事 提交于 2019-12-23 06:11:17
问题 I'm fairly novice in iPhone development, but trying to create what would seem a fairly simple application. I want to have 1 program running on my phone/simulator that has a slider and a button, and another receiving program on the mac, such as Processing/Supercollider. When the button is pressed i want a String such as "hello" to appear in the post window of the program on the mac, and when the slider is moved up/down for an integer, say between 0-99, to correspond with the movement on the