作者查詢 / shooter555

總覽項目: 發文 | 留言 | 暱稱
作者 shooter555 在 PTT [ LinuxDev ] 看板的留言(推文), 共40則
限定看板:LinuxDev
首頁
上一頁
1
下一頁
尾頁
[問題] c寫socket程式嗎是不是比java麻煩很多
[ LinuxDev ]10 留言, 推噓總分: +4
作者: ttucse - 發表於 2024/10/19 16:38(1年前)
10Fshooter555: 還好 處理send recv 就那樣寫法 簡單易懂05/26 23:44
6Fshooter555: C也是用thread11/04 22:33
[問題] 大量連線數如何降低I/O 提升傳輸速度
[ LinuxDev ]15 留言, 推噓總分: +2
作者: sunfox - 發表於 2019/05/02 17:43(6年前)
10Fshooter555: 沒寫過大量連線的service 好奇問一下 threads不會爆嗎05/22 16:11
11Fshooter555: 不是有數量上限在同一隻process內05/22 16:11
12Fshooter555: 喔喔 查了一下c10k linux就是用epoll05/22 16:19
[問題] 在linux上的Kerberos tool?
[ LinuxDev ]12 留言, 推噓總分: 0
作者: shooter555 - 發表於 2014/12/03 17:57(11年前)
1Fshooter555: 補充一下 我是在ubuntu下開發.12/03 18:01
4Fshooter555: 是開發用的API library嗎?還是直接可執行的tool?12/04 10:05
5Fshooter555: 是https://help.ubuntu.com/community/Kerberos 這裡12/04 10:07
6Fshooter555: 提到的套件嗎?12/04 10:08
9Fshooter555: 目前有找到一個套件krb5-user, 還在研究中...但還沒看12/04 19:28
10Fshooter555: 到有提供API的套件可以裝...12/04 19:29
11Fshooter555: 研究了一下kinit, 但還是沒辦法成功拿到ticket (配合12/12 15:32
12Fshooter555: smart card)12/12 15:32
[問題] Linux C下, 如何使用shell, 並等待grandchild process?
[ LinuxDev ]27 留言, 推噓總分: +1
作者: shooter555 - 發表於 2011/12/23 12:04(14年前)
2Fshooter555:wait()是用來等待fork所產生的subprocess而已 不是嗎?12/25 14:47
7Fshooter555:可是我無法取得A, B的source code 所以應該辦法把兩隻12/26 09:48
8Fshooter555:單獨的執行檔包起來吧12/26 09:48
9Fshooter555: 沒12/26 09:48
10Fshooter555:我也想過直接取得B的Pid, 可是好像唯一辦法只能透過ps12/26 09:52
11Fshooter555:指令, 然後grep name去找到它, 不過如果同時存在很多的12/26 09:53
12Fshooter555:B的話, 就沒辦法了...12/26 09:54
16Fshooter555:這個方法好像可行喔!!意思是說我寫一隻假的Launcher來12/26 11:39
17Fshooter555:騙A, 然後取得所有的參數以後, 在用這隻launcher去叫起12/26 11:40
18Fshooter555:原本的B, 同時取得pid, 只是不知要怎樣將這pid傳回"P",12/26 11:41
19Fshooter555:我先試試看這方法好了, 感謝大大指點!!12/26 11:44
20Fshooter555:結果...還是無法讓P程式與那隻launcher做資料溝通...12/28 14:15
23Fshooter555:感謝大大!!我有找到一個方法了, 開socket來傳訊息, 先12/30 13:15
24Fshooter555:開一個socket manager來管理所有的連結P跟Launcher的12/30 13:16
25Fshooter555:socket, 然後利用這個manager來媒合P跟Launcher(因為P12/30 13:18
26Fshooter555:跟Launcher or B都是multiple), 這樣就能讓兩個溝通了12/30 13:20
27Fshooter555:P1 <一> launcher1, p2 <一> launcher2 ......12/30 13:21
[問題] Get Usb Current Frame Number in Linux?
[ LinuxDev ]4 留言, 推噓總分: +2
作者: shooter555 - 發表於 2011/02/14 11:32(15年前)
2Fshooter555:V4L2不是也是include libusb 嗎?還是我誤會了0.002/14 17:52
3Fshooter555:恩...那我先去拿v4l2的source來看看02/14 17:52
[問題] Usb Device Redirection
[ LinuxDev ]5 留言, 推噓總分: 0
作者: shooter555 - 發表於 2011/02/10 09:43(15年前)
1Fshooter555:對了 在iso transfer前還有一個get current frame num02/10 11:43
2Fshooter555:是沒有成功的 不知道有沒有關係 在linux下要怎麼拿到02/10 11:44
3Fshooter555:current frame number阿02/10 11:44
4Fshooter555:我自己的猜測是iso transfer取出的資料有錯 在做iso02/10 21:03
5Fshooter555:transfer時 不曉得應該要注意些什麼?02/10 21:03
[問題] 請教使用libusb如何得知 vendor ID和product ID
[ LinuxDev ]3 留言, 推噓總分: +2
作者: isq - 發表於 2010/03/16 16:33(16年前)
1Fshooter555:可以先在terminal直接下lsusb先看pid跟vid07/08 00:16
2Fshooter555:要不然也可以用libusb_get_device_list() 一個一個devi07/08 00:19
3Fshooter555:ce慢慢比裡面的bus number跟device number也可以07/08 00:20
首頁
上一頁
1
下一頁
尾頁