このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


TCP/IP- a simple 演習 HOME - - - - - Lazarus Tutorials TOC - - - - - - Other 構成要素 for programmers
Delicious Save this on Delicious

A simple TCP/IP 演習

"Beginner friendly"

とじ込み/提出する: lt5Nc.htm

This 演習 may be simple... but for it to be useful you need to have 接近 to something that may not be 平易な to come by!

I'll explain that in a moment.

A zip with the sourcecode is 利用できる. That comes with the "final 製品"- a standalone .exe とじ込み/提出する which you can run without 任命する/導入するing, support とじ込み/提出するs, 影響s on your registry, etc. It 許すs you to send a 命令(する) to a web or LAN 大(公)使館員d IoT 装置 such as an IPCam, Arduserver, etc. It doesn't 監視する "answers" coming 支援する from the 装置. (For the IPCam you would use it to 誘発する/引き起こす, say, the saving of an image 経由で the camera's own ability to do FTP or send an email.) (I 港/避難所't 申し込む/申し出d the .exe as a separate download because the other stuff in the .zip only makes it about 10% larger. Just throw it away, if all you want is the .exe)

Open up a web browser.

Put http://bbc.co.uk into the 演説(する)/住所 妨げる/法廷,弁護士業, 圧力(をかける) return.

The browser should fill with Good Stuff.

You're going to 令状 something very like a browser, but not for looking at the BBC's webpage. And it will always (until you change what is 明示するd, which you can do while the program is running) send the same "thing" (e.g. "http://bbc.co.uk") to the internet.

When you asked the BBC to send the Good Stuff... you SEND something TO the BBC website before you received the Good Stuff 支援する.

There are things you can buy or make which will Do Things when they are sent things the way you sent something to the BBC. For instance, my Arduservers will turn an LED on (so of course, anything that can be turned on can be connected in place of the LED, which is just to 論証する the 原則s.) Send something different, and the LED goes off.

Now... we CAN send the "something" with a web-browser.

For one of my Arduservers, you would send....

http://mon7nc.dyndns.org:81?cmd=1

.. to turn the LED on, and ...

http://mon7nc.dyndns.org:81?cmd=1

.. to turn the LED off.

But we don't want to have to get out a web browser each time, remember the long code, etc, etc. Wouldn't it be nice if we had a little 使用/適用 like....

app with two buttons...'on'/'off'

Better yet... how about an app that sends the first 命令(する) every day at, say, 5pm, and sends the other 命令(する) every day at 10pm.. or whatever times we want?

平易な!

THAT's what we're going to 令状 an app for here!

We only need Lazarus and Synapse.

By the way... If an Arduserver doesn't 控訴 your wants for a thing to 支配(する)/統制する, how about 存在 able to 誘発する/引き起こす an IfTTT.com recipe? Or get an IPCam to take a picture? You's still use the app 存在 created in this tutorial.

Most of the "explanation" of how to do what's 提案するd is 会社にする/組み込むd within the sourcecode of LDN008, which you can download with the link at the 最高の,を越す of the page. I you don't want to 収集する it, 恐れる not, an ready-to-use .exe is 含むd in the .zip.

Screenshot, sheepdogguides.com LDN008 IoT controller

You fill in the URL of the 装置 you want to send the 指示/教授/教育 to. The ":1202" in the above 明示するs a port. Often, you don't need to 明示する one. You'll know, if you do.

The "/led/0" is one of the 命令(する)s which that particular IoT 装置 答える/応じるs to.

The two "公式文書,認めるs" lines are just scratchpads. What you put there 生き残るs a shut 負かす/撃墜する/ 再開する, though, through the ini とじ込み/提出する. (Which also manages the data in the other fields. And window size and position.)

The pane at the 底(に届く), 現在/一般に showing "Prgm start:" 供給するs a スピードを出す/記録につける of the 使用/適用's 死刑執行, with "Success!" and "失敗", as appropriate.



   Search this 場所/位置 or the web        力/強力にするd by FreeFind
 
  場所/位置 search Web search
場所/位置 地図/計画する    What's New    Search   BEWARE: There is stuff at my other two 場所/位置s that the search above won't 明らかにする/漏らす. Go to either 場所/位置 (see links below) and use that 場所/位置's FreeFind search button.

BEWARE: The search above only visits a 選択 of my stuff. Go to either of my other 場所/位置s (see links below) and use that 場所/位置's FreeFind search button, if you 港/避難所't 設立する something you "know is there".


In 新規加入 to the tutorials for which this page serves as (米)棚上げする/(英)提議する of Contents, I have other 場所/位置s with 構成要素 you might find useful.....

My other 場所/位置s....
Sheepdog ソフトウェア homepage.
My Arunet homepage.

... and some links to 明確な/細部 pages within them you might want....
You can't "play" all day... learn to use the Libre Office/ Open Office database. 解放する/自由な. Multi-壇・綱領・公約.
The Arduino- LOTS of fun, for not much money. And beginner (intelligent beginner) friendly. And good 追跡 for kids. 連合させる programming and electronics!
Designing printed 回路・連盟 boards the KiCad way. 解放する/自由な. Multi-壇・綱領・公約. Long 設立するd. PCB-fab houses take native KiCad とじ込み/提出するs.
And lastly... Making 地図/計画するs... how we did it before GPS Indulge me? This discusses a worthwhile, fun (if 現在のd intelligently) activity for kids, which can be undertaken on many levels... a simple 20 minutes, or weeks of engaging activity. (Also known to コースを変える susceptible adults.)


広告 from page's editor: Yes.. I do enjoy 収集するing these things for you... hope they are helpful. However.. this doesn't 支払う/賃金 my 法案s!!! If you find this stuff useful, please at least help me with Facebook links, etc (buttons at 最高の,を越す of page). If you run an MS-DOS or Windows PC, please visit my freeware and shareware page, try something? Links on your page to this page would also be 高く評価する/(相場などが)上がるd, of course!
Click here to visit editor's freeware, shareware page.


   Here is the way to 接触する the author of these Lazarus/Delphi tutorials, Tom Boyd.





Valid HTML 4.01 Transitional Page WILL BE 実験(する)d for 同意/服従 with INDUSTRY (not MS-only) 基準s, using the 解放する/自由な, 公然と accessible validator at validator.w3.org. (Mostly passes. A few problems 原因(となる)d by Google+ and Delicious code.)

If this page 原因(となる)s a script to run, why? Because of things like Google パネル盤s, and the code for the search button. Why do I について言及する scripts? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....