リファレンス 31 ドキュメント 7 サンプル 26
Artlet2D 11 basic 48 comobj 19 d3module 27 demo 1 elm2d 9 game 19 hgimg 12 hgimg3 41 hsp3imp 1 hspcl 9 hspcv 5 hspda 10 hspdb 3 hspdx 5 hspext 17 hspinet 12 hspsock 5 hspusbio 1 llmod3 9 misc 12 module 8 new 17 obaq 13 SQLele 3 ssaver 1

hspinet

Path : sample\hspinet
base64test.hsp
#include "hspinet.as" BASE64TEST base="abc123" key="password" b64encode res,base mes "もとの文字列:"+base mes "BASE64文字列:"+res sdim bres,512 b64decode bres,res mes "再変換した文字列:"+bres rc4encode bres, key mes "RC4暗号化した文字列:"+bres len=strlen(bres) repeat len
sample\hspinet\base64test.hsp - 2010/04/30
nkfcnv.hsp
#include "hspinet.as" notesel buf noteload "UTF8ドキュメント.txt" nkfcnv res,buf HSPの形式に変換 mes res nkfguess res mes "もとの文字コード="+res
sample\hspinet\nkfcnv.hsp - 2010/04/30
sendmail.hsp
#include "hspinet.as" メール送信サンプル ※すべてのメールサーバーに対応しているわけではありません ※メール本文はSJIS文字列として送信されます #module #include "hspsock.as" #define SVR_TIMEOUT 100 タイムアウト時間(1/10sec) #deffunc svrwait sdim reslog,1024 repeat SVR_TIMEOUT sockcheck 0 if stat=0 : break await 10
sample\hspinet\sendmail.hsp - 2010/04/30
test1.hsp
#include "hspinet.as" 単純なファイルのダウンロード netinit if stat : dialog "ネット接続できません。" : end neturl "http: www.onionsoft.net/hsp/" mes "DOWNLOAD 開始" netload "index.html" mes "DOWNLOAD 完了" mes "index.htmlを保存しました。
sample\hspinet\test1.hsp - 2010/04/30
test2.hsp
#include "hspinet.as" ファイルの取得(ループあり) netinit if stat : dialog "ネット接続できません。
sample\hspinet\test2.hsp - 2010/04/30
test3.hsp
#include "hspinet.as" サーバー上のファイル情報を得る netinit if stat : dialog "ネット接続できません。" : end neturl "http: www.onionsoft.net/hsp/" netfileinfo info,"index.html" if stat : dialog "情報の取得に失敗しました。
sample\hspinet\test3.hsp - 2010/04/30
test4.hsp
#include "hspinet.as" ファイルのCRC32、MD5を得る dialog "",16 fname = refstr mes "FILE="+fname filecrc a,fname mes "CRC="+a mes "SIZE="+strsize filemd5 md5,fname mes "MD5="+md5 stop
sample\hspinet\test4.hsp - 2010/04/30
test5.hsp
title "ftp接続サンプル" netinit if stat : dialog "ネット接続できません。
sample\hspinet\test5.hsp - 2010/04/30
test6.hsp
#include "hspinet.as" ファイルの取得(メモリ上に取得) 旧HSP3掲示板(onionsoft.net)のキーワード検索メニューを指定し、結果を取得します netinit if stat : dialog "ネット接続できません。
sample\hspinet\test6.hsp - 2010/04/30
test7.hsp
#include "hspinet.as" ファイルの取得(メモリ上に取得) 旧HSP3掲示板(onionsoft.net)の検索CGIを直接実行し、結果を取得します netinit if stat : dialog "ネット接続できません。
sample\hspinet\test7.hsp - 2010/04/30
twitter_send.hsp
title "Twitterに発言を投稿" sdim res,4096 sdim orgmsg,4096 もとのメッセージ(SJIS) sdim utf8msg,4096 UTF8に変換したメッセージ sdim encmsg,4096 URLエンコードされたメッセージ user = "???" pass = "???" orgmsg = "日本語メッセージの投稿テスト viaHSP3" objsize 120,24 pos 0,0:mes "TwitterID":pos 220,0:mes
sample\hspinet\twitter_send.hsp - 2010/04/30
twitter_timeline.hsp
title "Twitterタイムラインの取得" netinit if stat : dialog "ネット接続できません。
sample\hspinet\twitter_timeline.hsp - 2010/04/30