リファレンス 39 ドキュメント 7 サンプル 38
arduino 5 Artlet2D 11 basic 55 comobj 19 d3module 28 demo 1 elm2d 9 game 23 hgimg3 43 hgimg4 24 HIDaspx 2 hsp3dish 21 hsp3imp 1 hsp3utf 4 hspcl 10 hspcv 5 hspda 7 hspdb 3 hspdsc 8 hspdsp 26 hspext 17 hspinet 15 hspprint 2 hspsmart 14 hspsock 5 hsptv 4 hsptvapp 1 hspusbio 1 hspycp 4 misc 15 module 9 new34 10 new35 16 obaq 15 pronama2d 2 pronama3d 3 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 - 2018/05/04
get_binary.hsp
#include "hspinet.as" ファイルの取得(バイナリファイルの取得) netinit if stat : dialog "ネット接続できません。
sample\hspinet\get_binary.hsp - 2018/05/04
https_download.hsp
#include "hspinet.as" https経由でファイルをダウンロード (soupseedにhttps接続でアクセスします) netinit if stat : dialog "ネット接続できません。" : end neturl "https: dev.onionsoft.net/seed/" mes "DOWNLOAD 開始" netload "index.html" mes "DOWNLOAD 完了" mes "index.htmlを保存しました。
sample\hspinet\https_download.hsp - 2018/05/04
nkfcnv.hsp
#include "hspinet.as" notesel buf noteload "UTF8ドキュメント.txt" nkfcnv res,buf HSPの形式に変換 mes res nkfguess res mes "もとの文字コード="+res
sample\hspinet\nkfcnv.hsp - 2018/05/04
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 - 2018/05/04
test1.hsp
#include "hspinet.as" 単純なファイルのダウンロード netinit if stat : dialog "ネット接続できません。" : end neturl "http: www.onionsoft.net/" mes "DOWNLOAD 開始" netload "about.html" mes "DOWNLOAD 完了" mes "about.htmlを保存しました。
sample\hspinet\test1.hsp - 2018/05/04
test10.hsp
#include "hspinet.as" src="ABC=abc&DEF=456789&GHI=123" getenvprm s1,src,"ABC=" getenvprm s2,src,"DEF=" getenvprm s3,src,"GHI=" mes "ABC="+s1 mes "DEF="+s2 mes "GHI="+s3 stop
sample\hspinet\test10.hsp - 2018/05/04
test2.hsp
#include "hspinet.as" ファイルの取得(ループあり) netinit if stat : dialog "ネット接続できません。
sample\hspinet\test2.hsp - 2018/05/04
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 - 2018/05/04
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 - 2018/05/04
test5.hsp
title "ftp接続サンプル" netinit if stat : dialog "ネット接続できません。
sample\hspinet\test5.hsp - 2018/05/04
test6.hsp
#include "hspinet.as" ファイルの取得(メモリ上に取得) 旧HSP3掲示板(onionsoft.net)のキーワード検索メニューを指定し、結果を取得します netinit if stat : dialog "ネット接続できません。
sample\hspinet\test6.hsp - 2018/05/04
test7.hsp
#include "hspinet.as" ファイルの取得(メモリ上に取得) 旧HSP3掲示板(onionsoft.net)の検索CGIを直接実行し、結果を取得します netinit if stat : dialog "ネット接続できません。
sample\hspinet\test7.hsp - 2018/05/04
test8.hsp
#include "hspinet.as" sdim buf,4096 getenv buf,"path" mes "環境変数\"path\"を取得します" mesbox buf,640,400,1 stop
sample\hspinet\test8.hsp - 2018/05/04
test9.hsp
#include "hspinet.as" getctime time1,0 getctime time2,1 getctime time3,2 mes "ローカル時間を取得します" mes time1 mes "GMT時間を取得します" mes time2 mes "GMT時間(RFC1123)を取得します" mes time3 stop
sample\hspinet\test9.hsp - 2018/05/04